package com.blog.personalblog.service;

import com.blog.personalblog.bo.ArticleBO;
import com.blog.personalblog.entity.Article;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleService {
    void init();
    List<Article> getArticlePage(@Param("articleBO")ArticleBO articleBO);
    void saveArticle(Article article);
    void updateArticle(Article article);
    void deleteArticle(Integer articleId);
    Article findById(Integer articleId);
}
